Don't open files from Cocoa-parsed command line.
authorJan D. <jan.h.d@swipnet.se>
Mon, 30 Jul 2012 20:10:31 +0000 (22:10 +0200)
committerJan D. <jan.h.d@swipnet.se>
Mon, 30 Jul 2012 20:10:31 +0000 (22:10 +0200)
commit9a2e2d9458ebaf110c6ed5d8feef411428732bc2
treece480f285b81566899b11e1abf5cc5af86ea2d6b
parentca426094b23862b59e72178e9ed9c54fb115675b
Don't open files from Cocoa-parsed command line.

--eval '(whatever)' will open '(whatever)' if --eval is the last option.

* src/nsterm.m (ns_do_open_file): New variable.
(ns_term_init): Set ns_do_open_file to NO after run returns.
(openFile, openTempFile, openFileWithoutUI, openFiles): Open
files only if ns_do_open_file.
src/ChangeLog
src/nsterm.m